home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000296_news@columbia.edu _Thu Feb 15 14:45:35 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA11449
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 15 Feb 2001 14:45:34 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA03200
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Feb 2001 14:45:34 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA27908
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 14:45:54 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Executing a list of Kermit commands
  14. Date: 15 Feb 2001 19:45:52 GMT
  15. Organization: Columbia University
  16. Message-ID: <96hblg$r82$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. Lots of people, particularly MS-DOS Kermit users, expect to be able to
  21. invoke C-Kermit like this:
  22.  
  23.   kermit command, command, command, ...
  24.  
  25. But C-Kermit's command-line syntax is different from MS-DOS Kermit's.
  26. Obviously we can't change C-Kermit's command-line syntax because users
  27. depend on it.  But we can supply a shim for conversion:
  28.  
  29.   ftp://kermit.columbia.edu/kermit/f/dokermit.c
  30.  
  31. This is a short and totally portable C program.  Compile it and install
  32. the binary somewhere in your PATH and then:
  33.  
  34.   dokermit command, command, command, ...
  35.  
  36. will invoke C-Kermit as follows:
  37.  
  38.   kermit -C "command, command, command, ..., exit"
  39.  
  40. and return C-Kermit's exit status.
  41.  
  42. - Frank